(function(){
    window.Application = window.Application || {};

    var route = Application.route = Application.route || {};

    route.onChange = function(callback){
        $(window).on('hashchange', function(e) {
            callback(e, hash);
        });
    };

})();